package com.inplaceedit.client.activity.menu;

import com.google.gwt.activity.shared.Activity;
import com.google.gwt.activity.shared.ActivityMapper;
import com.google.gwt.place.shared.Place;
import com.inplaceedit.client.application.ApplicationInjector;

public class MenuActivityMapper implements ActivityMapper {
	private final ApplicationInjector injector;

	public MenuActivityMapper(final ApplicationInjector injector) {
		super();
		this.injector = injector;
	}

	@Override
	public Activity getActivity(final Place place) {
		return injector.getMenuActivity();
	}
}
